<div class="fuzzy-search">
  <nz-select ngModel="lucy"
      [nzMode]="multiple"
      nzPlaceHolder="Select users"
      nzAllowClear
      nzShowSearch
      nzServerSearch
      (ngModelChange)="onSelectChange($event)"
      (nzOnSearch)="onSearch($event)"
      [nzLoading]="isLoading">
      <ng-container *ngIf="!isLoading">
        <nz-option *ngFor="let item of selectOptions" [nzValue]="item.id" [nzLabel]="item.name"></nz-option>
      </ng-container>
  </nz-select>
</div>
